package com.example.movie.mate.service;

import com.example.movie.mate.pojo.entity.Movie;
import com.example.movie.mate.pojo.param.MovieAddNewParam;
import com.example.movie.mate.pojo.vo.MovieVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 电影服务接口
 */
@Transactional
public interface IMovieService {

    void addNew(MovieAddNewParam param);

    MovieVO selectById(Long id);

    List<MovieVO> selectAllOnSchedule();

    List<MovieVO> selectAllNotOnSchedule();

    void rebuildCache();

}